package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class YgUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YgUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andNickNameIsNull() {
            addCriterion("nick_name is null");
            return (Criteria) this;
        }

        public Criteria andNickNameIsNotNull() {
            addCriterion("nick_name is not null");
            return (Criteria) this;
        }

        public Criteria andNickNameEqualTo(String value) {
            addCriterion("nick_name =", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotEqualTo(String value) {
            addCriterion("nick_name <>", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameGreaterThan(String value) {
            addCriterion("nick_name >", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameGreaterThanOrEqualTo(String value) {
            addCriterion("nick_name >=", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLessThan(String value) {
            addCriterion("nick_name <", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLessThanOrEqualTo(String value) {
            addCriterion("nick_name <=", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLike(String value) {
            addCriterion("nick_name like", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotLike(String value) {
            addCriterion("nick_name not like", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameIn(List<String> values) {
            addCriterion("nick_name in", values, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotIn(List<String> values) {
            addCriterion("nick_name not in", values, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameBetween(String value1, String value2) {
            addCriterion("nick_name between", value1, value2, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotBetween(String value1, String value2) {
            addCriterion("nick_name not between", value1, value2, "nickName");
            return (Criteria) this;
        }

        public Criteria andGenderIsNull() {
            addCriterion("gender is null");
            return (Criteria) this;
        }

        public Criteria andGenderIsNotNull() {
            addCriterion("gender is not null");
            return (Criteria) this;
        }

        public Criteria andGenderEqualTo(Integer value) {
            addCriterion("gender =", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotEqualTo(Integer value) {
            addCriterion("gender <>", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThan(Integer value) {
            addCriterion("gender >", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThanOrEqualTo(Integer value) {
            addCriterion("gender >=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThan(Integer value) {
            addCriterion("gender <", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThanOrEqualTo(Integer value) {
            addCriterion("gender <=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderIn(List<Integer> values) {
            addCriterion("gender in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotIn(List<Integer> values) {
            addCriterion("gender not in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderBetween(Integer value1, Integer value2) {
            addCriterion("gender between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotBetween(Integer value1, Integer value2) {
            addCriterion("gender not between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andTelPhoneIsNull() {
            addCriterion("tel_phone is null");
            return (Criteria) this;
        }

        public Criteria andTelPhoneIsNotNull() {
            addCriterion("tel_phone is not null");
            return (Criteria) this;
        }

        public Criteria andTelPhoneEqualTo(String value) {
            addCriterion("tel_phone =", value, "telPhone");
            return (Criteria) this;
        }

        public Criteria andTelPhoneNotEqualTo(String value) {
            addCriterion("tel_phone <>", value, "telPhone");
            return (Criteria) this;
        }

        public Criteria andTelPhoneGreaterThan(String value) {
            addCriterion("tel_phone >", value, "telPhone");
            return (Criteria) this;
        }

        public Criteria andTelPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("tel_phone >=", value, "telPhone");
            return (Criteria) this;
        }

        public Criteria andTelPhoneLessThan(String value) {
            addCriterion("tel_phone <", value, "telPhone");
            return (Criteria) this;
        }

        public Criteria andTelPhoneLessThanOrEqualTo(String value) {
            addCriterion("tel_phone <=", value, "telPhone");
            return (Criteria) this;
        }

        public Criteria andTelPhoneLike(String value) {
            addCriterion("tel_phone like", value, "telPhone");
            return (Criteria) this;
        }

        public Criteria andTelPhoneNotLike(String value) {
            addCriterion("tel_phone not like", value, "telPhone");
            return (Criteria) this;
        }

        public Criteria andTelPhoneIn(List<String> values) {
            addCriterion("tel_phone in", values, "telPhone");
            return (Criteria) this;
        }

        public Criteria andTelPhoneNotIn(List<String> values) {
            addCriterion("tel_phone not in", values, "telPhone");
            return (Criteria) this;
        }

        public Criteria andTelPhoneBetween(String value1, String value2) {
            addCriterion("tel_phone between", value1, value2, "telPhone");
            return (Criteria) this;
        }

        public Criteria andTelPhoneNotBetween(String value1, String value2) {
            addCriterion("tel_phone not between", value1, value2, "telPhone");
            return (Criteria) this;
        }

        public Criteria andBabyGenderIsNull() {
            addCriterion("baby_gender is null");
            return (Criteria) this;
        }

        public Criteria andBabyGenderIsNotNull() {
            addCriterion("baby_gender is not null");
            return (Criteria) this;
        }

        public Criteria andBabyGenderEqualTo(Integer value) {
            addCriterion("baby_gender =", value, "babyGender");
            return (Criteria) this;
        }

        public Criteria andBabyGenderNotEqualTo(Integer value) {
            addCriterion("baby_gender <>", value, "babyGender");
            return (Criteria) this;
        }

        public Criteria andBabyGenderGreaterThan(Integer value) {
            addCriterion("baby_gender >", value, "babyGender");
            return (Criteria) this;
        }

        public Criteria andBabyGenderGreaterThanOrEqualTo(Integer value) {
            addCriterion("baby_gender >=", value, "babyGender");
            return (Criteria) this;
        }

        public Criteria andBabyGenderLessThan(Integer value) {
            addCriterion("baby_gender <", value, "babyGender");
            return (Criteria) this;
        }

        public Criteria andBabyGenderLessThanOrEqualTo(Integer value) {
            addCriterion("baby_gender <=", value, "babyGender");
            return (Criteria) this;
        }

        public Criteria andBabyGenderIn(List<Integer> values) {
            addCriterion("baby_gender in", values, "babyGender");
            return (Criteria) this;
        }

        public Criteria andBabyGenderNotIn(List<Integer> values) {
            addCriterion("baby_gender not in", values, "babyGender");
            return (Criteria) this;
        }

        public Criteria andBabyGenderBetween(Integer value1, Integer value2) {
            addCriterion("baby_gender between", value1, value2, "babyGender");
            return (Criteria) this;
        }

        public Criteria andBabyGenderNotBetween(Integer value1, Integer value2) {
            addCriterion("baby_gender not between", value1, value2, "babyGender");
            return (Criteria) this;
        }

        public Criteria andBabyBirthdayIsNull() {
            addCriterion("baby_birthday is null");
            return (Criteria) this;
        }

        public Criteria andBabyBirthdayIsNotNull() {
            addCriterion("baby_birthday is not null");
            return (Criteria) this;
        }

        public Criteria andBabyBirthdayEqualTo(Date value) {
            addCriterionForJDBCDate("baby_birthday =", value, "babyBirthday");
            return (Criteria) this;
        }

        public Criteria andBabyBirthdayNotEqualTo(Date value) {
            addCriterionForJDBCDate("baby_birthday <>", value, "babyBirthday");
            return (Criteria) this;
        }

        public Criteria andBabyBirthdayGreaterThan(Date value) {
            addCriterionForJDBCDate("baby_birthday >", value, "babyBirthday");
            return (Criteria) this;
        }

        public Criteria andBabyBirthdayGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("baby_birthday >=", value, "babyBirthday");
            return (Criteria) this;
        }

        public Criteria andBabyBirthdayLessThan(Date value) {
            addCriterionForJDBCDate("baby_birthday <", value, "babyBirthday");
            return (Criteria) this;
        }

        public Criteria andBabyBirthdayLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("baby_birthday <=", value, "babyBirthday");
            return (Criteria) this;
        }

        public Criteria andBabyBirthdayIn(List<Date> values) {
            addCriterionForJDBCDate("baby_birthday in", values, "babyBirthday");
            return (Criteria) this;
        }

        public Criteria andBabyBirthdayNotIn(List<Date> values) {
            addCriterionForJDBCDate("baby_birthday not in", values, "babyBirthday");
            return (Criteria) this;
        }

        public Criteria andBabyBirthdayBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("baby_birthday between", value1, value2, "babyBirthday");
            return (Criteria) this;
        }

        public Criteria andBabyBirthdayNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("baby_birthday not between", value1, value2, "babyBirthday");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlIsNull() {
            addCriterion("head_image_url is null");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlIsNotNull() {
            addCriterion("head_image_url is not null");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlEqualTo(String value) {
            addCriterion("head_image_url =", value, "headImageUrl");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlNotEqualTo(String value) {
            addCriterion("head_image_url <>", value, "headImageUrl");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlGreaterThan(String value) {
            addCriterion("head_image_url >", value, "headImageUrl");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlGreaterThanOrEqualTo(String value) {
            addCriterion("head_image_url >=", value, "headImageUrl");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlLessThan(String value) {
            addCriterion("head_image_url <", value, "headImageUrl");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlLessThanOrEqualTo(String value) {
            addCriterion("head_image_url <=", value, "headImageUrl");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlLike(String value) {
            addCriterion("head_image_url like", value, "headImageUrl");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlNotLike(String value) {
            addCriterion("head_image_url not like", value, "headImageUrl");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlIn(List<String> values) {
            addCriterion("head_image_url in", values, "headImageUrl");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlNotIn(List<String> values) {
            addCriterion("head_image_url not in", values, "headImageUrl");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlBetween(String value1, String value2) {
            addCriterion("head_image_url between", value1, value2, "headImageUrl");
            return (Criteria) this;
        }

        public Criteria andHeadImageUrlNotBetween(String value1, String value2) {
            addCriterion("head_image_url not between", value1, value2, "headImageUrl");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdIsNull() {
            addCriterion("small_open_id is null");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdIsNotNull() {
            addCriterion("small_open_id is not null");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdEqualTo(String value) {
            addCriterion("small_open_id =", value, "smallOpenId");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdNotEqualTo(String value) {
            addCriterion("small_open_id <>", value, "smallOpenId");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdGreaterThan(String value) {
            addCriterion("small_open_id >", value, "smallOpenId");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdGreaterThanOrEqualTo(String value) {
            addCriterion("small_open_id >=", value, "smallOpenId");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdLessThan(String value) {
            addCriterion("small_open_id <", value, "smallOpenId");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdLessThanOrEqualTo(String value) {
            addCriterion("small_open_id <=", value, "smallOpenId");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdLike(String value) {
            addCriterion("small_open_id like", value, "smallOpenId");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdNotLike(String value) {
            addCriterion("small_open_id not like", value, "smallOpenId");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdIn(List<String> values) {
            addCriterion("small_open_id in", values, "smallOpenId");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdNotIn(List<String> values) {
            addCriterion("small_open_id not in", values, "smallOpenId");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdBetween(String value1, String value2) {
            addCriterion("small_open_id between", value1, value2, "smallOpenId");
            return (Criteria) this;
        }

        public Criteria andSmallOpenIdNotBetween(String value1, String value2) {
            addCriterion("small_open_id not between", value1, value2, "smallOpenId");
            return (Criteria) this;
        }

        public Criteria andOpenIdIsNull() {
            addCriterion("open_id is null");
            return (Criteria) this;
        }

        public Criteria andOpenIdIsNotNull() {
            addCriterion("open_id is not null");
            return (Criteria) this;
        }

        public Criteria andOpenIdEqualTo(String value) {
            addCriterion("open_id =", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotEqualTo(String value) {
            addCriterion("open_id <>", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdGreaterThan(String value) {
            addCriterion("open_id >", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdGreaterThanOrEqualTo(String value) {
            addCriterion("open_id >=", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLessThan(String value) {
            addCriterion("open_id <", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLessThanOrEqualTo(String value) {
            addCriterion("open_id <=", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLike(String value) {
            addCriterion("open_id like", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotLike(String value) {
            addCriterion("open_id not like", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdIn(List<String> values) {
            addCriterion("open_id in", values, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotIn(List<String> values) {
            addCriterion("open_id not in", values, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdBetween(String value1, String value2) {
            addCriterion("open_id between", value1, value2, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotBetween(String value1, String value2) {
            addCriterion("open_id not between", value1, value2, "openId");
            return (Criteria) this;
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andSourceCodeIsNull() {
            addCriterion("source_code is null");
            return (Criteria) this;
        }

        public Criteria andSourceCodeIsNotNull() {
            addCriterion("source_code is not null");
            return (Criteria) this;
        }

        public Criteria andSourceCodeEqualTo(String value) {
            addCriterion("source_code =", value, "sourceCode");
            return (Criteria) this;
        }

        public Criteria andSourceCodeNotEqualTo(String value) {
            addCriterion("source_code <>", value, "sourceCode");
            return (Criteria) this;
        }

        public Criteria andSourceCodeGreaterThan(String value) {
            addCriterion("source_code >", value, "sourceCode");
            return (Criteria) this;
        }

        public Criteria andSourceCodeGreaterThanOrEqualTo(String value) {
            addCriterion("source_code >=", value, "sourceCode");
            return (Criteria) this;
        }

        public Criteria andSourceCodeLessThan(String value) {
            addCriterion("source_code <", value, "sourceCode");
            return (Criteria) this;
        }

        public Criteria andSourceCodeLessThanOrEqualTo(String value) {
            addCriterion("source_code <=", value, "sourceCode");
            return (Criteria) this;
        }

        public Criteria andSourceCodeLike(String value) {
            addCriterion("source_code like", value, "sourceCode");
            return (Criteria) this;
        }

        public Criteria andSourceCodeNotLike(String value) {
            addCriterion("source_code not like", value, "sourceCode");
            return (Criteria) this;
        }

        public Criteria andSourceCodeIn(List<String> values) {
            addCriterion("source_code in", values, "sourceCode");
            return (Criteria) this;
        }

        public Criteria andSourceCodeNotIn(List<String> values) {
            addCriterion("source_code not in", values, "sourceCode");
            return (Criteria) this;
        }

        public Criteria andSourceCodeBetween(String value1, String value2) {
            addCriterion("source_code between", value1, value2, "sourceCode");
            return (Criteria) this;
        }

        public Criteria andSourceCodeNotBetween(String value1, String value2) {
            addCriterion("source_code not between", value1, value2, "sourceCode");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andUserTypeIsNull() {
            addCriterion("user_type is null");
            return (Criteria) this;
        }

        public Criteria andUserTypeIsNotNull() {
            addCriterion("user_type is not null");
            return (Criteria) this;
        }

        public Criteria andUserTypeEqualTo(String value) {
            addCriterion("user_type =", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeNotEqualTo(String value) {
            addCriterion("user_type <>", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeGreaterThan(String value) {
            addCriterion("user_type >", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeGreaterThanOrEqualTo(String value) {
            addCriterion("user_type >=", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeLessThan(String value) {
            addCriterion("user_type <", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeLessThanOrEqualTo(String value) {
            addCriterion("user_type <=", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeLike(String value) {
            addCriterion("user_type like", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeNotLike(String value) {
            addCriterion("user_type not like", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeIn(List<String> values) {
            addCriterion("user_type in", values, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeNotIn(List<String> values) {
            addCriterion("user_type not in", values, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeBetween(String value1, String value2) {
            addCriterion("user_type between", value1, value2, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeNotBetween(String value1, String value2) {
            addCriterion("user_type not between", value1, value2, "userType");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andSaltIsNull() {
            addCriterion("salt is null");
            return (Criteria) this;
        }

        public Criteria andSaltIsNotNull() {
            addCriterion("salt is not null");
            return (Criteria) this;
        }

        public Criteria andSaltEqualTo(String value) {
            addCriterion("salt =", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotEqualTo(String value) {
            addCriterion("salt <>", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltGreaterThan(String value) {
            addCriterion("salt >", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltGreaterThanOrEqualTo(String value) {
            addCriterion("salt >=", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltLessThan(String value) {
            addCriterion("salt <", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltLessThanOrEqualTo(String value) {
            addCriterion("salt <=", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltLike(String value) {
            addCriterion("salt like", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotLike(String value) {
            addCriterion("salt not like", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltIn(List<String> values) {
            addCriterion("salt in", values, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotIn(List<String> values) {
            addCriterion("salt not in", values, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltBetween(String value1, String value2) {
            addCriterion("salt between", value1, value2, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotBetween(String value1, String value2) {
            addCriterion("salt not between", value1, value2, "salt");
            return (Criteria) this;
        }

        public Criteria andFromCodeIsNull() {
            addCriterion("from_code is null");
            return (Criteria) this;
        }

        public Criteria andFromCodeIsNotNull() {
            addCriterion("from_code is not null");
            return (Criteria) this;
        }

        public Criteria andFromCodeEqualTo(String value) {
            addCriterion("from_code =", value, "fromCode");
            return (Criteria) this;
        }

        public Criteria andFromCodeNotEqualTo(String value) {
            addCriterion("from_code <>", value, "fromCode");
            return (Criteria) this;
        }

        public Criteria andFromCodeGreaterThan(String value) {
            addCriterion("from_code >", value, "fromCode");
            return (Criteria) this;
        }

        public Criteria andFromCodeGreaterThanOrEqualTo(String value) {
            addCriterion("from_code >=", value, "fromCode");
            return (Criteria) this;
        }

        public Criteria andFromCodeLessThan(String value) {
            addCriterion("from_code <", value, "fromCode");
            return (Criteria) this;
        }

        public Criteria andFromCodeLessThanOrEqualTo(String value) {
            addCriterion("from_code <=", value, "fromCode");
            return (Criteria) this;
        }

        public Criteria andFromCodeLike(String value) {
            addCriterion("from_code like", value, "fromCode");
            return (Criteria) this;
        }

        public Criteria andFromCodeNotLike(String value) {
            addCriterion("from_code not like", value, "fromCode");
            return (Criteria) this;
        }

        public Criteria andFromCodeIn(List<String> values) {
            addCriterion("from_code in", values, "fromCode");
            return (Criteria) this;
        }

        public Criteria andFromCodeNotIn(List<String> values) {
            addCriterion("from_code not in", values, "fromCode");
            return (Criteria) this;
        }

        public Criteria andFromCodeBetween(String value1, String value2) {
            addCriterion("from_code between", value1, value2, "fromCode");
            return (Criteria) this;
        }

        public Criteria andFromCodeNotBetween(String value1, String value2) {
            addCriterion("from_code not between", value1, value2, "fromCode");
            return (Criteria) this;
        }

        public Criteria andGroupTagIsNull() {
            addCriterion("group_tag is null");
            return (Criteria) this;
        }

        public Criteria andGroupTagIsNotNull() {
            addCriterion("group_tag is not null");
            return (Criteria) this;
        }

        public Criteria andGroupTagEqualTo(String value) {
            addCriterion("group_tag =", value, "groupTag");
            return (Criteria) this;
        }

        public Criteria andGroupTagNotEqualTo(String value) {
            addCriterion("group_tag <>", value, "groupTag");
            return (Criteria) this;
        }

        public Criteria andGroupTagGreaterThan(String value) {
            addCriterion("group_tag >", value, "groupTag");
            return (Criteria) this;
        }

        public Criteria andGroupTagGreaterThanOrEqualTo(String value) {
            addCriterion("group_tag >=", value, "groupTag");
            return (Criteria) this;
        }

        public Criteria andGroupTagLessThan(String value) {
            addCriterion("group_tag <", value, "groupTag");
            return (Criteria) this;
        }

        public Criteria andGroupTagLessThanOrEqualTo(String value) {
            addCriterion("group_tag <=", value, "groupTag");
            return (Criteria) this;
        }

        public Criteria andGroupTagLike(String value) {
            addCriterion("group_tag like", value, "groupTag");
            return (Criteria) this;
        }

        public Criteria andGroupTagNotLike(String value) {
            addCriterion("group_tag not like", value, "groupTag");
            return (Criteria) this;
        }

        public Criteria andGroupTagIn(List<String> values) {
            addCriterion("group_tag in", values, "groupTag");
            return (Criteria) this;
        }

        public Criteria andGroupTagNotIn(List<String> values) {
            addCriterion("group_tag not in", values, "groupTag");
            return (Criteria) this;
        }

        public Criteria andGroupTagBetween(String value1, String value2) {
            addCriterion("group_tag between", value1, value2, "groupTag");
            return (Criteria) this;
        }

        public Criteria andGroupTagNotBetween(String value1, String value2) {
            addCriterion("group_tag not between", value1, value2, "groupTag");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("level is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("level is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(Integer value) {
            addCriterion("level =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(Integer value) {
            addCriterion("level <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(Integer value) {
            addCriterion("level >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("level >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(Integer value) {
            addCriterion("level <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(Integer value) {
            addCriterion("level <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<Integer> values) {
            addCriterion("level in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<Integer> values) {
            addCriterion("level not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(Integer value1, Integer value2) {
            addCriterion("level between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("level not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andIsGuideIsNull() {
            addCriterion("is_guide is null");
            return (Criteria) this;
        }

        public Criteria andIsGuideIsNotNull() {
            addCriterion("is_guide is not null");
            return (Criteria) this;
        }

        public Criteria andIsGuideEqualTo(Boolean value) {
            addCriterion("is_guide =", value, "isGuide");
            return (Criteria) this;
        }

        public Criteria andIsGuideNotEqualTo(Boolean value) {
            addCriterion("is_guide <>", value, "isGuide");
            return (Criteria) this;
        }

        public Criteria andIsGuideGreaterThan(Boolean value) {
            addCriterion("is_guide >", value, "isGuide");
            return (Criteria) this;
        }

        public Criteria andIsGuideGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_guide >=", value, "isGuide");
            return (Criteria) this;
        }

        public Criteria andIsGuideLessThan(Boolean value) {
            addCriterion("is_guide <", value, "isGuide");
            return (Criteria) this;
        }

        public Criteria andIsGuideLessThanOrEqualTo(Boolean value) {
            addCriterion("is_guide <=", value, "isGuide");
            return (Criteria) this;
        }

        public Criteria andIsGuideIn(List<Boolean> values) {
            addCriterion("is_guide in", values, "isGuide");
            return (Criteria) this;
        }

        public Criteria andIsGuideNotIn(List<Boolean> values) {
            addCriterion("is_guide not in", values, "isGuide");
            return (Criteria) this;
        }

        public Criteria andIsGuideBetween(Boolean value1, Boolean value2) {
            addCriterion("is_guide between", value1, value2, "isGuide");
            return (Criteria) this;
        }

        public Criteria andIsGuideNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_guide not between", value1, value2, "isGuide");
            return (Criteria) this;
        }

        public Criteria andIsSellerIsNull() {
            addCriterion("is_seller is null");
            return (Criteria) this;
        }

        public Criteria andIsSellerIsNotNull() {
            addCriterion("is_seller is not null");
            return (Criteria) this;
        }

        public Criteria andIsSellerEqualTo(Boolean value) {
            addCriterion("is_seller =", value, "isSeller");
            return (Criteria) this;
        }

        public Criteria andIsSellerNotEqualTo(Boolean value) {
            addCriterion("is_seller <>", value, "isSeller");
            return (Criteria) this;
        }

        public Criteria andIsSellerGreaterThan(Boolean value) {
            addCriterion("is_seller >", value, "isSeller");
            return (Criteria) this;
        }

        public Criteria andIsSellerGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_seller >=", value, "isSeller");
            return (Criteria) this;
        }

        public Criteria andIsSellerLessThan(Boolean value) {
            addCriterion("is_seller <", value, "isSeller");
            return (Criteria) this;
        }

        public Criteria andIsSellerLessThanOrEqualTo(Boolean value) {
            addCriterion("is_seller <=", value, "isSeller");
            return (Criteria) this;
        }

        public Criteria andIsSellerIn(List<Boolean> values) {
            addCriterion("is_seller in", values, "isSeller");
            return (Criteria) this;
        }

        public Criteria andIsSellerNotIn(List<Boolean> values) {
            addCriterion("is_seller not in", values, "isSeller");
            return (Criteria) this;
        }

        public Criteria andIsSellerBetween(Boolean value1, Boolean value2) {
            addCriterion("is_seller between", value1, value2, "isSeller");
            return (Criteria) this;
        }

        public Criteria andIsSellerNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_seller not between", value1, value2, "isSeller");
            return (Criteria) this;
        }

        public Criteria andShareRateIsNull() {
            addCriterion("share_rate is null");
            return (Criteria) this;
        }

        public Criteria andShareRateIsNotNull() {
            addCriterion("share_rate is not null");
            return (Criteria) this;
        }

        public Criteria andShareRateEqualTo(BigDecimal value) {
            addCriterion("share_rate =", value, "shareRate");
            return (Criteria) this;
        }

        public Criteria andShareRateNotEqualTo(BigDecimal value) {
            addCriterion("share_rate <>", value, "shareRate");
            return (Criteria) this;
        }

        public Criteria andShareRateGreaterThan(BigDecimal value) {
            addCriterion("share_rate >", value, "shareRate");
            return (Criteria) this;
        }

        public Criteria andShareRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("share_rate >=", value, "shareRate");
            return (Criteria) this;
        }

        public Criteria andShareRateLessThan(BigDecimal value) {
            addCriterion("share_rate <", value, "shareRate");
            return (Criteria) this;
        }

        public Criteria andShareRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("share_rate <=", value, "shareRate");
            return (Criteria) this;
        }

        public Criteria andShareRateIn(List<BigDecimal> values) {
            addCriterion("share_rate in", values, "shareRate");
            return (Criteria) this;
        }

        public Criteria andShareRateNotIn(List<BigDecimal> values) {
            addCriterion("share_rate not in", values, "shareRate");
            return (Criteria) this;
        }

        public Criteria andShareRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_rate between", value1, value2, "shareRate");
            return (Criteria) this;
        }

        public Criteria andShareRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_rate not between", value1, value2, "shareRate");
            return (Criteria) this;
        }

        public Criteria andForeverRateIsNull() {
            addCriterion("forever_rate is null");
            return (Criteria) this;
        }

        public Criteria andForeverRateIsNotNull() {
            addCriterion("forever_rate is not null");
            return (Criteria) this;
        }

        public Criteria andForeverRateEqualTo(BigDecimal value) {
            addCriterion("forever_rate =", value, "foreverRate");
            return (Criteria) this;
        }

        public Criteria andForeverRateNotEqualTo(BigDecimal value) {
            addCriterion("forever_rate <>", value, "foreverRate");
            return (Criteria) this;
        }

        public Criteria andForeverRateGreaterThan(BigDecimal value) {
            addCriterion("forever_rate >", value, "foreverRate");
            return (Criteria) this;
        }

        public Criteria andForeverRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("forever_rate >=", value, "foreverRate");
            return (Criteria) this;
        }

        public Criteria andForeverRateLessThan(BigDecimal value) {
            addCriterion("forever_rate <", value, "foreverRate");
            return (Criteria) this;
        }

        public Criteria andForeverRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("forever_rate <=", value, "foreverRate");
            return (Criteria) this;
        }

        public Criteria andForeverRateIn(List<BigDecimal> values) {
            addCriterion("forever_rate in", values, "foreverRate");
            return (Criteria) this;
        }

        public Criteria andForeverRateNotIn(List<BigDecimal> values) {
            addCriterion("forever_rate not in", values, "foreverRate");
            return (Criteria) this;
        }

        public Criteria andForeverRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("forever_rate between", value1, value2, "foreverRate");
            return (Criteria) this;
        }

        public Criteria andForeverRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("forever_rate not between", value1, value2, "foreverRate");
            return (Criteria) this;
        }

        public Criteria andIsSubscribeIsNull() {
            addCriterion("is_subscribe is null");
            return (Criteria) this;
        }

        public Criteria andIsSubscribeIsNotNull() {
            addCriterion("is_subscribe is not null");
            return (Criteria) this;
        }

        public Criteria andIsSubscribeEqualTo(Boolean value) {
            addCriterion("is_subscribe =", value, "isSubscribe");
            return (Criteria) this;
        }

        public Criteria andIsSubscribeNotEqualTo(Boolean value) {
            addCriterion("is_subscribe <>", value, "isSubscribe");
            return (Criteria) this;
        }

        public Criteria andIsSubscribeGreaterThan(Boolean value) {
            addCriterion("is_subscribe >", value, "isSubscribe");
            return (Criteria) this;
        }

        public Criteria andIsSubscribeGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_subscribe >=", value, "isSubscribe");
            return (Criteria) this;
        }

        public Criteria andIsSubscribeLessThan(Boolean value) {
            addCriterion("is_subscribe <", value, "isSubscribe");
            return (Criteria) this;
        }

        public Criteria andIsSubscribeLessThanOrEqualTo(Boolean value) {
            addCriterion("is_subscribe <=", value, "isSubscribe");
            return (Criteria) this;
        }

        public Criteria andIsSubscribeIn(List<Boolean> values) {
            addCriterion("is_subscribe in", values, "isSubscribe");
            return (Criteria) this;
        }

        public Criteria andIsSubscribeNotIn(List<Boolean> values) {
            addCriterion("is_subscribe not in", values, "isSubscribe");
            return (Criteria) this;
        }

        public Criteria andIsSubscribeBetween(Boolean value1, Boolean value2) {
            addCriterion("is_subscribe between", value1, value2, "isSubscribe");
            return (Criteria) this;
        }

        public Criteria andIsSubscribeNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_subscribe not between", value1, value2, "isSubscribe");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}